package cloud.shyidong.commerce.request;

import cloud.shyidong.core.request.SimpleUpdateRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 电商商品分类修改请求
 * </p>
 *
 * @author syd
 * @since 2023-09-18 15:34:23
 */
@Data
public class CommerceCategoryUpdateRequest extends SimpleUpdateRequest {
    
    /**
     *
     */
    @NotNull(message = "缺少ID")
    private Long id;
    
    /**
     *
     */
    @NotBlank(message = "缺少名称")
    private String name;
    
    /**
     *
     */
    @NotBlank(message = "缺少显示名称")
    private String displayName;
    
    /**
     *
     */
    @NotNull(message = "缺少排序")
    private Integer sortIndex;
    
    /**
     *
     */
    private String remark;
    
    
}
